package com.ruoyi.project.digital.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 任务信息表对象 t_task
 *
 * @author ruoyi
 * @date 2023-10-30
 */
@TableName("t_task")
@Data
public class Task extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务编码 */
    @Excel(name = "任务编码")
    private String code;

    /** 获取内容 */
    @Excel(name = "获取内容")
    private Long getValue;

    /** 要求 */
    @Excel(name = "要求")
    private String needKey;

    /** 任务标题 */
    @Excel(name = "任务标题")
    private String title;

    private String subTitle;

    private String url;

    private String isDay;

    private String awardName;

    private String awardType;

    private String awardNum;

    private String productId;

    /** 主键 */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Long getGetValue() {
        return getValue;
    }

    public void setGetValue(Long getValue) {
        this.getValue = getValue;
    }

    public String getNeedKey() {
        return needKey;
    }

    public void setNeedKey(String needKey) {
        this.needKey = needKey;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIsDay() {
        return isDay;
    }

    public void setIsDay(String isDay) {
        this.isDay = isDay;
    }

    public String getAwardName() {
        return awardName;
    }

    public void setAwardName(String awardName) {
        this.awardName = awardName;
    }

    public String getAwardType() {
        return awardType;
    }

    public void setAwardType(String awardType) {
        this.awardType = awardType;
    }

    public String getAwardNum() {
        return awardNum;
    }

    public void setAwardNum(String awardNum) {
        this.awardNum = awardNum;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Task{" +
                "code='" + code + '\'' +
                ", getValue=" + getValue +
                ", needKey='" + needKey + '\'' +
                ", title='" + title + '\'' +
                ", subTitle='" + subTitle + '\'' +
                ", url='" + url + '\'' +
                ", isDay='" + isDay + '\'' +
                ", awardName='" + awardName + '\'' +
                ", awardType='" + awardType + '\'' +
                ", awardNum='" + awardNum + '\'' +
                ", productId='" + productId + '\'' +
                ", id=" + id +
                '}';
    }
}
